package com.jlect.swebing.ui.client.button;

import com.jlect.swebing.ui.client.ChangeEvent;
import com.jlect.swebing.ui.client.ChangeListener;

/**
 * Default button view implementation.
 *
 * @author Sergey Kozmin
 * @since 23.11.2007 9:45:23
 */
public class DefaultButtonViewImpl implements ButtonView, ChangeListener {
    private ButtonModel model;


    public DefaultButtonViewImpl() {
    }

    public void setModel(ButtonModel model) {
        this.model = model;
        model.addChangeListener(this);
    }

    public ButtonModel getModel() {
        return model;
    }

    public void changePerformed(ChangeEvent e) {
    }
}
